<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="estateTag" prefix="estateTag" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script>
   			function showimg(url,saveurl){
  			document.getElementById("imgdiv").style.display = "block";
			document.getElementById("img").src =  "<%=basePath%>"+url;
			document.getElementById("imgurl").value = saveurl;
			}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>资讯图片信息</title>
<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	    <link rel="stylesheet" href="../resource/css/whole.css" type="text/css"></link>
	    <link rel="stylesheet" href="../resource/css/memberCenter/infowithoutmenu.css" type="text/css"></link>
		<link rel="stylesheet" href="../resource/css/global.css" type="text/css"></link>
	    <script src="../resource/js/jquery-1.4.2.js"></script>
	    <script type="text/javascript" src="<%=basePath %>/information/informationImg.js"></script>
	    <link rel="stylesheet" type="text/css" href="../resource/css/easyui/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../resource/css/easyui/icon.css">
		<link rel="stylesheet" type="text/css" href="../resource/css/information/examples.css">
		<script type="text/javascript"
			src="../resource/js/jquery-impromptu.3.1.min.js"></script>
</head>
<body onload="showfilediv();"><estateTag:security></estateTag:security>
	<center><jsp:include page="../index/top.jsp"></jsp:include></center>
 <div style="width: 100%;margin-top: 10px;" align="center"><input id="menuCls" type="hidden" value="39">
 	 	<form id="sysAgentBean" name="sysAgentBean"   onsubmit="return checkform()"
							 action="<%=basePath%>statement/statement_saveOrUpdate.shtml" target="tempF"
							method="post">
 	 <table class="layoutTab" style="border: 0px red solid;">
    	<tr>
    	<!--  <td width="20%" align="left" valign="top"><jsp:include page="../menu.jsp"></jsp:include></td> -->
    		<td valign="top" align="center">
    			<div class="position" align="left"><label>您所在的位置：</label>资讯知识管理模块&nbsp;&nbsp;--&gt;&gt;&nbsp;&nbsp;资讯图片&nbsp;&nbsp;</div>
    			<br/>
    			<div class="info_top"></div>
    				<div class="info_mid" align="center">
    				<center>
    					<table border="0" cellpadding="0" cellspacing="0" width="760px">
					         <tr>
							             <td valign="top" align="center" >
    					<table id="userinfo" width="960px" border="0" cellpadding="1" cellspacing="1">
    					<tr><th colspan="2" align="left" class="title_info1"><b>
						【资讯图片】
					</b></th></tr>
    						<tr id="trimgdiv" ><td align="right" width="20%"></td><td align="left">
											<div id="imgdiv" style="display: none">
												&nbsp;<img id="img" src='<%=basePath%><s:property value="statement.content"/>' />
											</div>
											<s:if test="flag!=2">
											&nbsp;
											<input class="button" id="imgBtn" value="上传图片" type="button"/> <font color="red"> *若进行修改图片，请继续点击'上传图片'按钮(建议图片大小宽630px)</font>
											</s:if>
										<input type="hidden" id="imgurl" name="statement.content" value='<s:property value="statement.content"/>'>
    						</td></tr>
    						<tr>
    					<td align="right">&nbsp;</td>
    					<td align="left">
    					  <input type="hidden" name="statement.flag" value="${flag}">
                            <input type="hidden" name="statement.id" value="${statement.id}">
    					
    						  <input type="submit" value="保 存">&nbsp;&nbsp;
							 <input type="button" value="关 闭" onclick="window.self.close();">
    						</td>
    					</tr>
    					</table>
    					</td>
    					</tr>
    					</table>
    					</center>
    				</div>
				<div class="info_bottom">&nbsp;</div>
    		</td>
    	</tr>
    </table>
    </form>
    <iframe name="tempF" style="display: none;"></iframe>
 </div>
	<center> <iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center></body>

</html>